import req from '@/utils/request';
import * as URL from '@/constants/api';

export function getUserInfo () {
    return req({
        url: URL.USER_INFO,
    })
    .then(res => res.data.data);
}
